
// 确认
$('.lf-form-btn').click(function() {
	window.location.href="../register/index.html";
});
// 返回
$('.lf-forget-title img').click(function(){
	window.history.back(-1); 
});
// 眼睛
let num = 1;
$('.lf-code-img').click(function() {
	if(num === 1) {
		num = 2;
		$(this).attr('src', '../../../images/eyea@2x.png');
		$('.lf-form-code .input1').attr('type', 'password');
		return false;
	};
	num = 1;
	$(this).attr('src', '../../../images/eyeb@2x.png');
	$('.lf-form-code .input1').attr('type', 'text');
})
let num1 = 1;
$('.lf-code-img1').click(function() {
	if(num1 === 1) {
		num1 = 2;
		$(this).attr('src', '../../../images/eyeb@2x.png');
		$('.lf-form-code .input2').attr('type', 'text');
		return false;
	};
	num1 = 1;
	$(this).attr('src', '../../../images/eyea@2x.png');
	$('.lf-form-code .input2').attr('type', 'password');
})